#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/3/27 10:54
# @Author  : Rem~
# @File    : SystemFontQuery.py
# @function: 系统字体查询

from matplotlib import pyplot as plt
import matplotlib

a = sorted([f.name for f in matplotlib.font_manager.fontManager.ttflist])

for i in a:
    print(i)

plt.rcParams['font.family'] = ['STFangsong']